package com.lebang.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Data;

/**
 * cences_task_data
 * @author 
 */
@Data
@ApiModel("")
public class CencesTaskData implements Serializable {
    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private LocalDate createTime;

    /**
     * 任务名称
     */
    @ApiModelProperty("任务名称")
    private String taskName;

    /**
     * appid
     */
    @ApiModelProperty("appid")
    private Integer appId;

    /**
     * 审核成功数
     */
    @ApiModelProperty("审核成功数")
    private Integer checkSuccessNum;

    /**
     * 审核失败数
     */
    @ApiModelProperty("审核失败数")
    private Integer checkFailNum;

    /**
     * 收入
     */
    @ApiModelProperty("收入")
    private BigDecimal income;

    /**
     * 支出
     */
    @ApiModelProperty("支出")
    private BigDecimal expend;

    /**
     * 应用名称
     */
    @ApiModelProperty("应用名称")
    private String appName;

    private Integer time;

    private static final long serialVersionUID = 1L;

    public CencesTaskData() {

    }


    public CencesTaskData( Integer appId, Integer time, String appName) {
        this.createTime = LocalDate.now();
        this.taskName = "";
        this.appId = appId;
        this.checkSuccessNum = 0;
        this.checkFailNum = 0;
        this.income = BigDecimal.ZERO;
        this.expend = BigDecimal.ZERO;
        this.appName = appName;
        this.time=time;
    }


}